<template>
  <div class="footer">
    <footer>
        <ul>
            <router-link tag="li" to="/"><i class="iconfont icon-shouye"></i><br>外卖</router-link>
            <router-link tag="li" to="/discover"><i class="iconfont icon-qiabao1"></i><br>发现</router-link>
            <router-link tag="li" to="/orderform"><i class="iconfont icon-dingdan"></i><br>订单</router-link>
            <router-link tag="li" to="/mine"><i class="iconfont icon-yonghu"></i><br>我的</router-link>
        </ul>  
    </footer>
  </div>
</template>

<script>
export default {
  name: 'Footer',
  data () {
    return {
      
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="less">
    footer{
        font-size: 0.3rem;
        height: 1.5rem;
        width: 100%;
        border:0.01rem solid #ccc;
        position: fixed;
        box-sizing: border-box;
        background: rgb(238, 238, 238);
        bottom: 0rem;
        ul{
            display: flex;
            justify-content: space-between;
            li{
                height: 1.5rem;
                line-height: 0.5rem;
                padding-top:0.3rem; 
                text-align: center;
                &:first-child{
                    padding-left:0.3rem; 
                }
                &:last-child{
                    padding-right:0.3rem; 
                } 
                i{
                    font-size: 0.4rem;
                }
            }
        }
    }
</style>